#include<iostream>
#include<string>

using namespace std;

struct student
{
    string name;
    int age;
    int score;
};

int main()
{
    struct student s = {"张三", 18, 100};
    struct student *p = &s;
    cout << p->name << endl;
    cout << p->age << endl;
    cout << p->score << endl;
    
    return 0;
    
}